-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add decision record for the removal of the init()
method
#33
Conversation
8889f91
to
ed1b716
Compare
|
||
Component initialisation will be reduced to `new ComponentClass()` instead of `new ComponentClass().init()`, so users will need to update their code to reflect this. | ||
|
||
This will only affect users that were taking responsibility for instantiating components on specific elements themselves. Users who rely on `initAll()` will not have any changes to make as we'll have updated that function's implementation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, felt like the words were hiding the meaning:
This will only affect users that were taking responsibility for instantiating components on specific elements themselves. Users who rely on `initAll()` will not have any changes to make as we'll have updated that function's implementation. | |
The `initAll()` method will not be affected. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mind if I mix both approaches, to clarify which users will need to update?
This will only affect users that were taking responsibility for instantiating components on specific elements themselves. Users who rely on `initAll()` will not have any changes to make as we'll have updated that function's implementation. | |
The `initAll()` method will not be affected. Only users that were instantiating components on specific elements themselves will need to update their code. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we've already got it above, leave it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't hurt to have it there as well if someone gets linked directly to this section (they might not scroll back up).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@colinrotherham Updated that bit, which I'd missed 😊
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good in isolation, but repeats text from the paragraph above.
How about my new suggestion in #33 (comment) and #33 (review)?
f5f3a4b
to
ed4fbf0
Compare
4608371
to
ab64f7a
Compare
ed4fbf0
to
637a08c
Compare
ab64f7a
to
10a04d4
Compare
637a08c
to
37f1e1d
Compare
37f1e1d
to
5c405f0
Compare
Co-authored-by: Colin Rotherham <work@colinr.com>
5917ceb
to
7786c65
Compare
No description provided.